{% extends "base.html" %}
{%block title %}{{settings.name}} - {{album_name}}{% endblock %}
{% block meta %}
<link rel="alternate" type="application/atom+xml" title="sa3album" href="/feed/" />
{% endblock %}
{%block javascript %}<script type="text/javascript" src="/static/fcd/fn.js"></script>{% endblock %}
{% block content %}
<div id="d">
<div id="pic-list" >

</div>
<div style="clear: both;"></div>
<div class="plink">
    <ul>
        {% if frist %}<li><a href="?p={{frist}}">首页</a></li> {% endif %}
        {% if prev %}<li><a href="?p={{prev}}">上一页</a></li> {% endif %}
        {% for p in ps %}
        {% ifequal p current_p %}
        <li class='ulink'>{{p}}</li>
        {% else %}
        <li><a href="?p={{p}}">{{p}}</a> </li>
        {% endifequal %}
        {% endfor %}
        {% if next %}<li><a href="?p={{next}}">下一页</a> {% endif%}</li></h2>
        {% if last %}<li><a href="?p={{last}}">末页</a> {% endif%}</li></h2>
    </ul>
</div>
<div id="loadlistmask"></div>
</div>
<script lanuage="text/javascript">
    var _p = {{current_p}};
    var _ab = '{{album_keyname}}';
</script>
{% endblock %}